<?php

require_once __DIR__.'/../../lib/PAutoLoader.php';
// require_once __DIR__ . "/../../lib/Swoole/Thrift/SwooleHttpServer.php";

$cofnig = include __DIR__  . '/thrift_ini.php';

$server = new Swoole\Thrift\SwooleHttpServer($cofnig);
// $server = new SwooleHttpServer($cofnig);
$server->serve();
